//
//  MMGAppConfig.h
//  MyApp
//
//  Created by Don on 2017/8/24.
//  Copyright © 2017年 com.memego. All rights reserved.
//

#ifndef MMGAppConfig_h
#define MMGAppConfig_h

#ifdef DEBUG
#define DLog(s, ...) NSLog(@"%s(%d): %@", __FUNCTION__, __LINE__, [NSString stringWithFormat:(s), ##__VA_ARGS__])
#else
#define DLog(...)
#endif

#define MMGWeakSelf(weakSelf) __weak __typeof(&*self)weakSelf = self

/*! 域名配置*/
#define kDOMAIN_DEVELOP_VIDEO @"139.199.191.99"
#define kDOMAIN_RELEASE_VIDEO @"203.135.156.6"
#define kDOMAIN_DEVELOP @"139.199.191.99"
#define kDOMAIN_RELEASE @"139.199.191.99"

//
#define kVideoID @"39d760f68c154f8fbc5cfda8be175a27"//@"2cd8d91f3491491989bb5792fda1fd90"
#define kPRIZE_CLAW_MACHINE_ID @"39d760f68c154f8fbc5cfda8be175a27"//测试用
#define kDEVICE_USER_AUTHO_CODE @"0e0e6eb2dea34953846af106a0d46bb5"//测试用


#ifdef DEBUG
/**
 *  视频直播测试场
 *
 *  @return 测试场路径
 */
#define kVIDEO_SERVICE_HOST [NSString stringWithFormat:@"%@",kDOMAIN_DEVELOP_VIDEO]

#else

/**
 *  视频直播正式场
 *
 *  @return 正式场路径
 */
#define kVIDEO_SERVICE_HOST [NSString stringWithFormat:@"%@",kDOMAIN_RELEASE_VIDEO]

#endif

#ifdef DEBUG
/**
 *  测试场
 *
 *  @return 测试场路径
 */
#define kSERVICE_HOST [NSString stringWithFormat:@"%@",kDOMAIN_DEVELOP]

#else

/**
 *  正式场
 *
 *  @return 正式场路径
 */
#define kSERVICE_HOST [NSString stringWithFormat:@"%@",kDOMAIN_RELEASE]

#endif

#endif /* MMGAppConfig_h */
